<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录失败</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-color: #f44336; /* 使用红色背景表示错误 */
            color: white;
        }
        .error-message {
            text-align: center;
            font-size: 1.5em;
            padding: 20px;
            border: 1px solid white;
            border-radius: 10px;
            animation: shake 0.5s;
            animation-iteration-count: 1;
        }
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
            20%, 40%, 60%, 80% { transform: translateX(10px); }
        }
    </style>
</head>
<body>
    <div class="error-message">
        <p>登录失败，请检查您的用户名和密码是否正确。</p>
        <a href="login.jsp">返回登录页面</a>
    </div>
</body>
</html>